﻿using AdminStyem.Domain.Entity;
using AdminStyem.Domain.Entity.Boss;
using AdminStyem.Domain.Entity.Users;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminStyem.EntityFrameworkCore
{
    public class BaseDbContext : DbContext
    {
        public BaseDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<City> Cities { get; set; }

        public DbSet<County> County { get; set; }

        public  DbSet<ProcessingFirm> ProcessingFirm { get; set;}

        public DbSet<Province> Provinces { get; set; }

        public  DbSet<Slaughteringfirm> Slaughteringfirms { get; set;}

        public DbSet<Role> Roles { get; set; }  

        public DbSet<UserInfo> UserInfo { get; set; }

        public DbSet<Accessories> Accessories { get; set; }

        public  DbSet<Additive> Additives { get; set; }

        public DbSet<Commodity> Commodities { get; set; }

        public  DbSet<Cultivation> Cultivations { get; set;}

        public DbSet<Feedstock> Feedstocks { get; set; }    

        public  DbSet<Packaging> Packagings { get; set; }   

        public DbSet<Processing> Processings { get; set; }

        public  DbSet<Slaughter> Slaughters { get; set; }

        public DbSet<Traceability> Traceability { get; set; }   

        public DbSet<Vaccine> Vaccines { get; set; }

        public DbSet<UserRole> UserRoles { get; set; }

        public DbSet<BreedBass> BreedBasses { get; set; }
    }
}
